package cn.iocoder.yudao.module.ao.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * AO 错误码枚举类
 *
 * ao 系统，使用 1-060-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 学校信息 1-060-001-000 ==========
    ErrorCode SCHOOL_NOT_EXISTS = new ErrorCode(1_060_001_000, "学校信息不存在");

    // ========== 年级信息 1-060-002-000 ==========
    ErrorCode GRADE_NOT_EXISTS = new ErrorCode(1_060_002_000, "年级信息不存在");

    // ========== 班级信息 1-060-003-000 ==========
    ErrorCode CLASS_NOT_EXISTS = new ErrorCode(1_060_003_000, "班级信息不存在");

    // ========== 专业信息 1-060-004-000 ==========
    ErrorCode MAJOR_NOT_EXISTS = new ErrorCode(1_060_004_000, "专业信息不存在");

    // ========== 专业方向信息 1-060-005-000 ==========
    ErrorCode MAJOR_DIRECTION_NOT_EXISTS = new ErrorCode(1_060_005_000, "专业方向信息不存在");

    // ========== 班级专业关联 1-060-006-000 ==========
    ErrorCode CLASS_MAJOR_NOT_EXISTS = new ErrorCode(1_060_006_000, "班级专业关联不存在");
    ErrorCode CLASS_MAJOR_IMPORT_LIST_IS_EMPTY = new ErrorCode(1_060_006_001, "导入班级专业关联数据不能为空！");

    // ========== 班级专业关联 1-060-006-000 ==========
    ErrorCode MAJOR_DIRECTION_EXITS_CHILDREN = new ErrorCode(1_060_007_000, "存在存在子专业方向，无法删除");

    // ========== 班级专业关联 1-060-006-000 ==========
    ErrorCode MAJOR_DIRECTION_PARENT_NOT_EXITS = new ErrorCode(1_060_008_000,"父级专业方向不存在");

    // ========== 班级专业关联 1-060-006-000 ==========
    ErrorCode MAJOR_DIRECTION_PARENT_ERROR = new ErrorCode(1_060_009_000, "不能设置自己为父专业方向");

    // ========== 班级专业关联 1-060-006-000 ==========
    ErrorCode MAJOR_DIRECTION_DIRECTION_NAME_DUPLICATE = new ErrorCode(1_060_010_000, "已经存在该专业方向名称的专业方向");

    // ========== 班级专业关联 1-060-006-000 ==========
    ErrorCode MAJOR_DIRECTION_PARENT_IS_CHILD = new ErrorCode(1_060_011_000, "不能设置自己的子MajorDirection为父MajorDirection");

    ErrorCode LAB_SCHEDULE_NOT_EXISTS = new ErrorCode(1_060_012_000, "机房实训室课不存在");
    ErrorCode LAB_SCHEDULE_IMPORT_LIST_IS_EMPTY = new ErrorCode(1_060_012_001, "导入机房实训室课数据不能为空！");
    ErrorCode LAB_SCHEDULE_TERM_NOT_NULL = new ErrorCode(1_060_012_002, "学期信息不能为空");
    ErrorCode LAB_SCHEDULE_LAB_NAME_NOT_NULL = new ErrorCode(1_060_012_003, "机房名称不能为空");
    ErrorCode LAB_SCHEDULE_CLASS_SECTION_NOT_NULL = new ErrorCode(1_060_012_004, "节次不能为空");
    ErrorCode CLASS_ROOM_NOT_EXISTS = new ErrorCode(1_060_012_005, "班级固定教室信息不存在");

    ErrorCode YEAR_NOT_EXISTS = new ErrorCode(1_060_012_006, "学年及班级信息不存在");

    ErrorCode TEACHER_NOT_EXISTS = new ErrorCode(1_060_012_007, "教师信息不存在");

    ErrorCode LOCATION_NOT_EXISTS = new ErrorCode(1_060_012_008, "上课场地信息不存在");

    ErrorCode COURSE_NOT_EXISTS = new ErrorCode(1_060_012_009, "课程排课信息表（含场地外键）不存在");

    ErrorCode VOCATIONAL_CLASS_SCHEDULE_NOT_EXISTS = new ErrorCode(1_060_012_010, "中高技班级课不存在");
    ErrorCode VOCATIONAL_CLASS_SCHEDULE_IMPORT_LIST_IS_EMPTY = new ErrorCode(1_060_012_011, "导入中高技班级课数据不能为空！");
}
